home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15109 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.4 KB

  1. Path: news.cs.ucla.edu!edwin
  2. From: edwin@cs.ucla.edu (E. Robert Tisdale)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Overiding [] for C++ matrix class
  5. Date: 3 Apr 1996 18:55:32 GMT
  6. Organization: UCLA Computer Science Dept.
  7. Message-ID: <4juhj4$1lg@delphi.cs.ucla.edu>
  8. References: <4ju6vf$kop@news.iastate.edu>
  9. NNTP-Posting-Host: flamingo.cs.ucla.edu
  10. X-Newsreader: NN version 6.5.0.b3.0 #9 (NOV)
  11.  
  12. mlrivas@iastate.edu (Matthew L Rivas) writes:
  13.  
  14.  
  15. >I'm attempting to write a simple matrix class which will
  16. >allow me to use the `[]' to access the matrix coefficients.
  17.  
  18.  
  19. The C++ Matrix class is available via anonymous ftp from `pink.cs.ucla.edu'.
  20. Get the compressed tarfile `/pub/Matrix.tar.Z'.  Uncompress `Matrix.tar.Z'.
  21. Extract the `Matrix' directory from `Matrix.tar'.  Then go to the `Matrix'
  22. directory and type `make'.  Now print and read the paper in `Matrix.dvi'.
  23.  
  24. In order to demonstrate an application of The C++ Matrix class,
  25. it was used to implement the backward error propagation algorithm
  26. for multi-layer, feed-forward artificial neural networks.
  27.  
  28. Enjoy, Bob Tisdale (edwin@cs.ucla.edu)
  29.  
  30. P.S.  I hope the following notes will be helpful.
  31.  
  32. unix% ftp pink.cs.ucla.edu
  33. Name (pink.cs.ucla.edu:your_login_ID): ftp
  34. Password: your_login_ID@
  35. ftp> cd /pub
  36. ftp> binary
  37. ftp> get Matrix.tar.Z
  38. ftp> bye
  39. unix% uncompress Matrix.tar.Z
  40. unix% tar xvf Matrix.tar
  41. unix% cd Matrix
  42. unix% make
  43. unix% dvips Matrix | lpr
  44. unix% mv ffnet.new ffnet.old
  45. unix% cat ffnet.old ffnet.Set | (backprop -v > ffnet.new) >>& ffnet.err
  46. unix% cat ffnet.new ffnet.Set | evaluate | graph -m 0 | plot
  47.  
  48. Note: pink.cs.ucla.edu is an alias for internet-address 131.179.64.80
  49.       If you have trouble, verify that the `SYS5' variable
  50.       in the `Matrix/src/genclass' shell script contains
  51.       the path to the System V version of the `m4' macro
  52.       pre-processor.
  53.       The `fig2dev' program is part of the `transfig' package
  54.       available via anonymous ftp from `export.lcs.mit.edu'.
  55.       Get `/contrib/R5fixes/transfig-fixes/transfig.2.1.8.tar.Z'.
  56.       The Enhanced Picture Environment (EPIC) is a TeX style file
  57.       available via anonymous ftp from `ftp.wustl.edu'.
  58.       Get `/packages/TeX/macros/latex/contrib/eepic/epic.sty'.
  59.       File `/pub/Matrix.linux.tar.Z' includes all the files created by
  60.       `make' under Linux 1.2.13.  It may be useful to Linux workstation
  61.       users or those who just want to print the documentation.
  62.